.标签{
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #fafafa;
}

/* 头部导航栏样式 */
nav {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

nav ul li a:hover {
    color: #b8b8b8;
}

nav.logo {
    display: flex;
    align-items: center;
}

nav.logo img {
    height: 30px;
}

nav.logo span {
    margin-left: 5px;
    font-size: 24px;
    font-weight: bold;
}

/* 搜索框样式 */
.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    position: absolute;
    top: 5px;
    left: 500px;
    width: 725px;
    margin: 0 auto;
}

.search-bar {
    background-color: white;
    border: 1px solid white;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    top: 0%;
}

.search-bar input {
    background-color: white;
    border: none;
    color: black;
    font-size: 14px;
    width: 600px;
    height: 25px;
    margin-right: 10px;
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    background-color: transparent;
    border: none;
    color: #b8b8b8;
    cursor: pointer;
}

/* 悬停效果 */
.search-bar:hover {
    background-color: #f8f8f8;
}